﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 计科2015_31
{
    public partial class 实验2_1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            TextBox6.Text = "注册：1.注册前请您仔细阅读用户服务协议的相关条款，" +
                "并完全同意条款中的相关内容；" + "2.必须先注册成为网站会员，才能进行网上报名和在线咨询" + "3.注册成功后”用户名“和”考生所在省市“不能修改，请认真填写。";
        }

        protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
        {
            DropDownList1.SelectedValue = "山西";
        }

        protected void TextBox6_TextChanged(object sender, EventArgs e)
        {

        }

        protected void Button1_Click1(object sender, EventArgs e)
        {
            foreach (ListItem listItem in CheckBoxList1.Items)
            {
                if (listItem.Selected)
                    TextBox3.Text = listItem.Text;
            }
            TextBox3.Text = " 您输入了：" + TextBox3.Text;
            TextBox3.Text = TextBox3.Text + TextBox1.Text + TextBox5.Text + RadioButtonList2.SelectedItem + CheckBox1 + CheckBox1.Checked + DropDownList1.SelectedValue;
        }

    }
}